#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>

int main()
{
    const char* fstr = "hello fwrite!";
    const char* str = "hello write!";
    printf("hello printf\n");
    fprintf(stdout,"hello fprintf");

    fwrite(fstr,strlen(fstr),1,stdout);
    write(1,str,strlen(str));
    close(1);
    fork();
    return 0;
}
